﻿

namespace ToyChat.BuiltinModules
{
    /// <summary>
    /// This delegate is used to let a user know that a <see cref="IUser"/> object has been updated with a new version
    /// </summary>
    /// <param name="oldUser">The old <see cref="IUser"/> object</param>
    /// <param name="newUser">The new <see cref="IUser"/> object that replaces the old one</param>
    public delegate void UserUpdatedHandler(IUser oldUser, IUser newUser);
}